package com.hualan.dao;

import com.hualan.bean.PanghuCommunity;

import java.util.List;

public interface CommunityDao {
   //查看全部信息
    List<PanghuCommunity> AllCommunity(String name, String startTime, String endTime, String pageNum, String pageSize,String communityName);

    public PanghuCommunity selectCommunityId(String id) ;
//删除
     int deleteCommunity(Integer id);
    //新增方法
    public int addCommunity(PanghuCommunity community);
//修改
    int update(PanghuCommunity community);
//搜索
List<PanghuCommunity> search( String startTime, String endTime,   String communityName);

    Integer findUser(int user);


}
